home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / PowerPlant / Everything / DModelessCheckboxesData.h < prev    next >
Encoding:
Text File  |  1998-10-11  |  1.6 KB  |  77 lines  |  [TEXT/CWIE]

  1. // DModelessCheckboxesData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMDataDef.h"
  6.  
  7. class LFileStream;
  8.  
  9.  
  10. const long    idStandard7        = 'Sta7';
  11. const long    idXx3        = 'Xx3 ';
  12. const long    idLR9        = 'LR9 ';
  13. const long    idLR10        = 'LR10';
  14. const long    idLR11        = 'LR11';
  15. const long    idLR12        = 'LR12';
  16. const long    idCheckbox5        = 'Che5';
  17. const long    idCheckbox6        = 'Che6';
  18. const long    idNext5        = 'Nex5';
  19. const long    idNext6        = 'Nex6';
  20.  
  21.  
  22. //----------
  23. class DModelessCheckboxesData : public AMDataDef {
  24. public:
  25.                 DModelessCheckboxesData ();
  26.     virtual        ~DModelessCheckboxesData ();
  27.  
  28. public:
  29.     void        CopyFrom        (DModelessCheckboxesData*        inOther);
  30.     void        ReadFromFile    (LFileStream*        inFile);
  31.     void        WriteToFile        (LFileStream*        inFile);
  32.  
  33. public:        // accessors
  34.     Boolean        GetStandard7 () const;
  35.     void        SetStandard7    (Boolean        inValue);
  36.  
  37.     Boolean        GetXx3 () const;
  38.     void        SetXx3    (Boolean        inValue);
  39.  
  40.     Boolean        GetLR9 () const;
  41.     void        SetLR9    (Boolean        inValue);
  42.  
  43.     Boolean        GetLR10 () const;
  44.     void        SetLR10    (Boolean        inValue);
  45.  
  46.     Boolean        GetLR11 () const;
  47.     void        SetLR11    (Boolean        inValue);
  48.  
  49.     Boolean        GetLR12 () const;
  50.     void        SetLR12    (Boolean        inValue);
  51.  
  52.     Boolean        GetCheckbox5 () const;
  53.     void        SetCheckbox5    (Boolean        inValue);
  54.  
  55.     Boolean        GetCheckbox6 () const;
  56.     void        SetCheckbox6    (Boolean        inValue);
  57.  
  58.     Boolean        GetNext5 () const;
  59.     void        SetNext5    (Boolean        inValue);
  60.  
  61.     Boolean        GetNext6 () const;
  62.     void        SetNext6    (Boolean        inValue);
  63.  
  64.  
  65. protected:
  66.     Boolean        mStandard7;
  67.     Boolean        mXx3;
  68.     Boolean        mLR9;
  69.     Boolean        mLR10;
  70.     Boolean        mLR11;
  71.     Boolean        mLR12;
  72.     Boolean        mCheckbox5;
  73.     Boolean        mCheckbox6;
  74.     Boolean        mNext5;
  75.     Boolean        mNext6;
  76. };
  77.